-- GENERATED SPELL FOR [Greymist Netter] --


function spell0_2204(pUnit, Event) --@Net,n/a--
pUnit:FullCastSpellOnTarget(12024,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2204', 5266, 1)
end

function Sorts_2204(pUnit, Event)
local choix_sorts_2204 = math.random(0, 0)
if choix_sorts_2204 == 0 then
pUnit:RegisterEvent('spell0_2204', 1, 1)
end
end

function mob2204_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2204', math.random(1500, 3000), 1)
end

function mob2204_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2204_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2204_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2204, 1, 'mob2204_Action')
RegisterUnitEvent(2204, 2, 'mob2204_Leave')
RegisterUnitEvent(2204, 3, 'mob2204_Kill')
RegisterUnitEvent(2204, 4, 'mob2204_Die')
